export interface MessageType {
    to_id?: number
    to_user?: UserInfo
    from_id?: number
    from_user?: UserInfo
    message?: string
    send_time?: number
    recv_time?: number
}

export interface EnterResult {
    id?: number
    socket_code?: string
}

export interface SocketInfo {
    id?: number
    socket_code?: string
}

export interface UserInfo {
    id?: number
    socket_code?: string
    nick_name?: string
}